<?php
	session_start();
	$conn = @mysql_connect("localhost","root","lks112700.");
	if(!$conn){
		die("数据库连接失败:".mysql_error());
	}
	mysql_select_db("person",$conn);
	$user_mail = $_SESSION['e_mail'];
	$db1 = 'select * from user where std_email = $user_mail';
	$sql = mysql_query($db1,$conn);
	// $i = $rows = mysql_num_rows($check);
	// $i--;
	
	$result = mysql_fetch_array($check);
	$std_tel_num = $result['std_tel_num'];
	$std_paw = $result['std_paw'];
	$std_no = $result['std_no'];
	$std_name = $result['std_name'];
	$std_addr = $result['std_addr'];
	$std_email = $result['std_email'];
	echo "<li><div>";
	echo "<p>$std_tel_num</p>";
	echo "<p>$std_paw</p>";
	echo "<p>$std_no</p>";
	echo "<p>$std_name</p>";
	echo "<p>$std_addr</p>";
	echo "<p>$std_email</p></div></li>";
		
	
?>
	